<template>
  <div class="brand">
    <div class="title">
      <div class="tit">品牌街</div>
      <div class="more">
        <a href="#">更多<icon name="iconxiangyou" size="16" /></a>
      </div>
    </div>
    <div class="brand-box">
      <div class="goods-list">
        <div class="ad"></div>
        <goods-item2 />
        <goods-item2 />
        <goods-item2 />
        <goods-item2 />
        <goods-item2 />
        <goods-item2 />
      </div>
    </div>
  </div>
</template>

<script>
import GoodsItem2 from "@/components/GoodsItem/GoodsItem2.vue";
export default {
  name: "Brand",
  components: { GoodsItem2 },
};
</script>

<style lang="scss" scoped>
.brand {
  max-width: 1200px;
  margin: 0 auto 20px;
  .title {
    height: 33px;
    display: flex;
    align-items: flex-end;
    .tit {
      font-size: 24px;
      font-weight: 600;
      color: #333333;
      line-height: 33px;
      padding-right: 40px;
    }
    .link {
      a {
        font-size: 16px;
        font-weight: 400;
        color: #333333;
        line-height: 22px;
        text-decoration: none;
        margin-right: 16px;
        &:hover {
          color: #d52c1a;
        }
      }
    }
    .more {
      flex: 1;
      text-align: right;
      a {
        text-decoration: none;
        font-size: 16px;
        font-weight: 400;
        color: #333333;
        line-height: 22px;
      }
    }
  }
  .brand-box {
    margin-top: 26px;
    display: flex;
    .goods-list {
      flex: 1;
      font-size: 0;
      vertical-align: top;
      .ad {
        width: 587px;
        height: 325px;
        background: #ff7642;
        vertical-align: top;
        margin-bottom: 20px;
        display: inline-block;
      }
      & div:nth-child(4n) {
        margin-left: 0;
      }
    }
  }
}
</style>
